home *** CD-ROM | disk | FTP | other *** search
/ E.M.Computergraphic Phase 4 / Phase 4 - Desktop Video Dreams (E. M. Computergraphic)(1996).iso / utilities / jacosub / rexx / playstart.jsrx < prev    next >
Text File  |  1996-01-02  |  692b  |  26 lines

  1. /* JACOsub PLAYSTART command demonstration. */
  2.  
  3. options results
  4. address 'JACOsub'
  5. 'PLAYSTART'
  6.  
  7. if result then
  8.     say 'script play could not be started.'
  9. else
  10.     say 'script play in progress!'
  11. exit result
  12.  
  13. /*
  14.    This is how one causes JACOsub to start playing a script.
  15.    The command PLAYSETUP *must* be given prior to issuing a PLAYSTART
  16.    command.
  17.  
  18.    If JACOsub's play screen is hidden, you do NOT need to send a
  19.    SCREENTOFRONT command before PLAYSTART.  PLAYSTART automatically brings
  20.    the play screen to the front.
  21.  
  22.    PLAYSTART returns RESULT=0 if playing commenced, or RESULT=1 if a
  23.    problem occurred (such as: PLAYSETUP wasn't performed first, or
  24.    PLAYSETUP didn't complete).
  25. */
  26.